package com.ruibang.glass.produce.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.teaming.cloud.framework2.common.tools.LocalDateTimeStringConverter;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 生产-理化-原料粒度
 * </p>
 *
 * @author songJinKang
 * @since 2024-03-12
 */

@ApiModel(value = "生产-理化-原料粒度")
@TableName("g_produce_material_particle")
@Data
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class MaterialParticle extends BaseEntity {
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ExcelIgnore
    private String id;
    @ApiModelProperty(value = "送检时间")
    @ColumnWidth(18)
    @ExcelProperty(value = {"送检时间"}, index = 0, converter = LocalDateTimeStringConverter.class)
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime arrivalTime;
    @ApiModelProperty(value = "检测人")
    @ColumnWidth(12)
    @ExcelProperty(value = {"检测人"}, index = 2)
    private String checkBy;
    @ApiModelProperty(value = "检测人用户ID")
    @ExcelIgnore
    private String checkById;
    @ApiModelProperty(value = "审核人")
    @ColumnWidth(12)
    @ExcelProperty(value = {"审核人"}, index = 3)
    private String auditBy;
    @ApiModelProperty(value = "审核人用户ID")
    @ExcelIgnore
    private String auditById;
    @ApiModelProperty(value = "时间")
    @ColumnWidth(18)
    @ExcelProperty(value = {"时间"}, index = 4, converter = LocalDateTimeStringConverter.class)
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkTime;
    @ApiModelProperty(value = "≥250μm 0％(硅砂)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"硅砂", "≥250μm 0％"}, index = 5)
    private String a1;
    @ApiModelProperty(value = ">150μm ≤5％(硅砂)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"硅砂", ">150μm ≤5％"}, index = 6)
    private String a2;
    @ApiModelProperty(value = "˂20μm ≤5％(硅砂)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"硅砂", "˂20μm ≤5％"}, index = 7)
    private String a3;
    @ApiModelProperty(value = "结果判定(硅砂)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"硅砂", "结果判定"}, index = 8)
    private String a;
    @ApiModelProperty(value = "250μm 以上 ≤0(氧化铝)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化铝", "250μm 以上 ≤0"}, index = 9)
    private String b1;
    @ApiModelProperty(value = "200μm 以上 ≤5％(氧化铝)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化铝", "200μm 以上 ≤5％"}, index = 10)
    private String b2;
    @ApiModelProperty(value = "20μm以下 ≤5％(氧化铝)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化铝", "20μm以下 ≤5％"}, index = 11)
    private String b3;
    @ApiModelProperty(value = "结果判定(氧化铝)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化铝", "结果判定"}, index = 12)
    private String b;
    @ApiModelProperty(value = "450μm以上 0(碳酸钙)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碳酸钙", "450μm以上 0"}, index = 13)
    private String c1;
    @ApiModelProperty(value = "150μm以下 >95％(碳酸钙)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碳酸钙", "150μm以下 >95％"}, index = 14)
    private String c2;
    @ApiModelProperty(value = "结果判定(碳酸钙)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碳酸钙", "结果判定"}, index = 15)
    private String c;
    @ApiModelProperty(value = "筛网通过率1.5mm以上 0％(硼酸)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"硼酸", "筛网通过率1.5mm以上 0％"}, index = 16)
    private String d1;
    @ApiModelProperty(value = "850μm以上 ˂5％(硼酸)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"硼酸", "850μm以上 ˂5％(硼酸)"}, index = 17)
    private String d2;
    @ApiModelProperty(value = "20μm以下 ˂5％(硼酸)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"硼酸", "20μm以下 ˂5％(硼酸)"}, index = 18)
    private String d3;
    @ApiModelProperty(value = "结果判定(硼酸)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"硼酸", "结果判定"}, index = 19)
    private String d;
    @ApiModelProperty(value = "50μm以上 ≤5％(氧化锡)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化锡", "50μm以上 ≤5％"}, index = 20)
    private String e1;
    @ApiModelProperty(value = "50μm以下 ≥95％(氧化锡)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化锡", "50μm以下 ≥95％"}, index = 21)
    private String e2;
    @ApiModelProperty(value = "结果判定(氧化锡)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化锡", "结果判定"}, index = 22)
    private String e;
    @ApiModelProperty(value = ">1.5mm 0％(碳酸锶)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碳酸锶", ">1.5mm 0％"}, index = 23)
    private String f1;
    @ApiModelProperty(value = "0.15~0.125mm ˂5％(碳酸锶)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碳酸锶", "0.15~0.125mm ˂5％"}, index = 24)
    private String f2;
    @ApiModelProperty(value = "˂0.125mm >90％(碳酸锶)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碳酸锶", "˂0.125mm >90％"}, index = 25)
    private String f3;
    @ApiModelProperty(value = "结果判定(碳酸锶)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碳酸锶", "结果判定"}, index = 26)
    private String f;
    @ApiModelProperty(value = "300μm以上 0(氧化镁)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化镁", "300μm以上 0"}, index = 27)
    private String g1;
    @ApiModelProperty(value = "125μm以上 ≤2％(氧化镁)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化镁", "125μm以上 ≤2％"}, index = 28)
    private String g2;
    @ApiModelProperty(value = "结果判定(氧化镁)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"氧化镁", "结果判定"}, index = 29)
    private String g;
    @ApiModelProperty(value = "1.28mm以下 95％(碎玻璃)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碎玻璃", "1.28mm以下 95％"}, index = 30)
    private String h1;
    @ApiModelProperty(value = "1.50mm以下 99.5％(碎玻璃)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碎玻璃", "1.50mm以下 99.5％"}, index = 31)
    private String h2;
    @ApiModelProperty(value = "结果判定(碎玻璃)")
    @ColumnWidth(10)
    @ExcelProperty(value = {"碎玻璃", "结果判定"}, index = 32)
    private String h;
    @ApiModelProperty(value = "备注")
    @ColumnWidth(30)
    @ExcelProperty(value = {"备注"}, index = 33)
    private String remark;
    @ApiModelProperty(value = "是否删除：1：是 0：否")
    @TableLogic
    private String isDelete;
}
